package org.mspring.mlog.service;

import org.mspring.mlog.entity.JobLog;
import org.mspring.platform.dao.hibernate.IGenericDao;

/**
 * 
 * @author Gao Youbo
 * @since 2013-06-18 16:34:42
 */
public interface JobLogService extends IGenericDao<JobLog, java.lang.Long> {

    /**
     * @param jobId
     * @return
     */
    JobLog getLastestExecute(Long jobId);

    /**
     * @param days
     */
    void removeJobLog(int days);

}